#pragma once
#include <base_definition.h>
#include <video.h>
#include <lm.h>

typedef struct packed
{
    u64 r1;
    u64 r2;
} IDTEntry;

typedef struct
{
    ModeInfoBlock mib;
    Selector cspm;
    Selector cslm;
    Selector ds;
    GDTEntry gdt[256];
    IDTEntry idt[256];
    u32 mm_entries_num;
    ptr mm_buffer;
} bootinfo;
